<div>
    <div class="row" v-if="govSchoolPeripheralPersonManageInfo.componentShow == 'govSchoolPeripheralPersonManage'">
        <div class="col-lg-12">
            <div class="ibox ">
                <div class="ibox-title">
                    <h5>查询条件</h5>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" placeholder="重点人员id"
                                    v-model="govSchoolPeripheralPersonManageInfo.conditions.schPersonId"
                                    class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" placeholder="请输入学校名称"
                                    v-model="govSchoolPeripheralPersonManageInfo.conditions.schoolName"
                                    class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" placeholder="请输入人员名称"
                                    v-model="govSchoolPeripheralPersonManageInfo.conditions.personName"
                                    class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-4">
                            <div class="form-group">
                                <input type="text" placeholder="请输入人员电话"
                                    v-model="govSchoolPeripheralPersonManageInfo.conditions.personTel"
                                    class=" form-control">
                            </div>
                        </div>
                        <div class="col-sm-1">
                            <button type="button" class="btn btn-primary btn-sm"
                                v-on:click="_queryGovSchoolPeripheralPersonMethod()">
                                <i class="glyphicon glyphicon-search"></i> 查询
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="row" v-if="govSchoolPeripheralPersonManageInfo.componentShow == 'govSchoolPeripheralPersonManage'">
        <div class="col-lg-12">
            <div class="ibox">
                <div class="ibox-title">
                    <h5>校园周边重点人员信息</h5>
                    <div class="ibox-tools" style="top:10px;">
                        <button type="button" class="btn btn-primary btn-sm"
                            v-on:click="_openAddGovSchoolPeripheralPersonModal()">
                            <i class="glyphicon glyphicon-plus"></i>
                            添加人员
                        </button>
                    </div>
                </div>
                <div class="ibox-content">

                    <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
                        <thead>
                            <tr>
                                <th class="text-center">重点人员ID</th>
                                <th class="text-center">学校名称</th>
                                <th class="text-center">身份证号</th>
                                <th class="text-center">姓名</th>
                                <th class="text-center">性别</th>
                                <th class="text-center">联系方式</th>
                                <th class="text-center">危害程度</th>
                                <th class="text-center">是否关注</th>
                                <th class="text-center">操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr
                                v-for="govSchoolPeripheralPerson in govSchoolPeripheralPersonManageInfo.govSchoolPeripheralPersons">
                                <td class="text-center">{{govSchoolPeripheralPerson.schPersonId}}</td>
                                <td class="text-center">{{govSchoolPeripheralPerson.schoolName}}</td>
                                <td class="text-center">{{govSchoolPeripheralPerson.idCard}}</td>
                                <td class="text-center">{{govSchoolPeripheralPerson.personName}}</td>
                                <td class="text-center">{{govSchoolPeripheralPerson.personSex == '0'?'女':'男'}}</td>
                                <td class="text-center">{{govSchoolPeripheralPerson.personTel}}</td>
                                <td class="text-center">{{_getSchoolExtentInjurys(govSchoolPeripheralPerson.extentInjury)}}</td>
                                <td class="text-center">{{govSchoolPeripheralPerson.isAttention == '11'?'是':'否'}}</td>
                                <td class="text-center">
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openEditGovSchoolPeripheralPersonModel(govSchoolPeripheralPerson)">修改</button>
                                    </div>
                                    <div class="btn-group">
                                        <button class="btn-white btn btn-xs"
                                            v-on:click="_openDeleteGovSchoolPeripheralPersonModel(govSchoolPeripheralPerson)">删除</button>
                                    </div>
                                </td>

                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="7">
                                    <ul class="pagination float-right"></ul>
                                </td>
                            </tr>
                        </tfoot>
                    </table>
                    <!-- 分页 -->
                    <vc:create path="frame/pagination"></vc:create>
                </div>
            </div>
        </div>
    </div>

    <div v-bind:class="{no_display:govSchoolPeripheralPersonManageInfo.componentShow != 'addGovSchoolPeripheralPerson'}">
        <vc:create path="gov/addGovSchoolPeripheralPerson" callBackListener="" callBackFunction=""></vc:create>
    </div>
    <div v-bind:class="{no_display:govSchoolPeripheralPersonManageInfo.componentShow != 'editGovSchoolPeripheralPerson'}">
        <vc:create path="gov/editGovSchoolPeripheralPerson"></vc:create>
    </div>
    <vc:create path="gov/deleteGovSchoolPeripheralPerson"></vc:create>
    <vc:create path="gov/chooseGovPerson" emitChooseGovPerson="openChooseGovPerson" emitLoadData="openChooseGovPerson">
    </vc:create>
</div>